package com.by.yz.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 123 on 2016/10/7.
 */
public class TopicInfo implements Serializable {
    private  String topicimage;//发表图片
    private  String title;//标题
    private  String content;//内容
    private  String creater;//发表人
    private  int count;//点赞数
    private int disscusscount;//评论数
    private Integer id;
    private String login;//用户名
    private String clicker;//点赞人
    private String createat;//发表时间
    private String updateat;//更新时间
    private String comunity;//评论

    public TopicInfo(){}

    public TopicInfo(String creater,int id){
        this.creater=creater;
        this.id=id;
    }
    public TopicInfo(int id){
        this.id=id;
    }
    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return id;
    }
    public TopicInfo(Integer id,String clicker,String updateat,String title, String content, String topicimage,String creater ,String createat,int count , int disscusscount ,String comunity) {
        this.id=id;
        this.clicker=clicker;
        this.updateat=updateat;
        this.title = title;
        this.content = content;
        this.topicimage=topicimage;
        this.creater=creater;
        this.createat = createat;
        this.count=count;
        this.disscusscount=disscusscount;
        this.comunity=comunity;
    }
    public  void setComunity(String comunity){
        this.comunity=comunity;
    }
    public String getComunity(){
        return comunity;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTopicimage() {
        return topicimage;
    }

    public void setTopicimage(String topicimage) {
        this.topicimage = topicimage;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
    public  int getCount(){return count;}

    public void setCount(int count){this.count=count;}

    public  int getDisscusscount(){return disscusscount;}

    public void setDisscusscount(int disscusscount){this.disscusscount=disscusscount;}
    public void setLogin(String login){
        this.login=login;
    }
    public String getLogin(){
        return login;
    }
    public void setClicker(String clicker){
        this.clicker=clicker;
    }
    public String getClicker(){
        return clicker;
    }
    public void setCreateat(String createat){
        this.createat=createat;
    }
    public String getUpdateat(){
        return createat;
    }
    public void setUpdateat(String updateat){
        this.updateat=updateat;
    }
    public String getCreateat(){
        return updateat;
    }
}

